package test_array

import "fmt"

func Do() {
	fmt.Println("内容-》》 ")

	var param = []int{1: 2, 2: 3}
	myFunction(param)

	var param1 = [10]int{1, 2, 3, 4, 4}
	myFunction1(param1)
}

func myFunction(param []int) {
	fmt.Println(param)
}

func myFunction1(param [10]int) {
	fmt.Println(param)
}

